package config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pojo.Order;
import service.OrderService;

import java.util.List;

@Component
public class Test {
    @Autowired
    private OrderService orderService;

    public List<Order> test(){
        return orderService.selectOrder();
    }

}
